const path = require("path");

module.exports = {
    entry: path.join(__dirname, './main.js'), // 入口文件
  output: {
    filename: "bundle.js",
    path: path.resolve(__dirname, "dist")
  }
};